package com.example.demo.data.model;

public class News {
    private String title;
    private String content;
    private String createTime;
    private String source;
    private String image;
    private Boolean like= false;


    public News() {
    }

    public News(String title,String content, String createTime, String source, String image) {
        this.title = title;
        this.content = content;
        this.createTime = createTime;
        this.source = source;
        this.image = image;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Boolean getLike() {
        return like;
    }

    public void setLike(Boolean like) {
        this.like = like;
    }

}
